﻿<div class="navbar navbar-inverse">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a class="brand">
                <small><i class="icon-leaf"></i>管理平台</small>
            </a>
            <ul class="nav ace-nav pull-right">
                <li class="light-blue user-profile">
                    <a class="user-menu dropdown-toggle" href="javascript:;" data-toggle="dropdown">
                        <c:choose>
                            <c:when test="${empty user.avatar}">
                                <img alt="FH" src="static/avatars/user.jpg" class="nav-user-photo"/>
                            </c:when>
                            <c:otherwise>
                                <img alt="FH" src="${user.avatar}" class="nav-user-photo"/>
                            </c:otherwise>
                        </c:choose>
                        <span id="user_info"></span>
                        <i class="icon-caret-down"></i>
                    </a>
                    <ul id="user_menu" class="pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
                        <li><a onclick="editUserH();" style="cursor:pointer;"><i class="icon-user"></i>信息修改</a></li>
                        <li><a onclick="editUserPwd();" style="cursor:pointer;"><i class="icon-user"></i>密码修改</a></li>
                        <li><a href="logout"><i class="icon-off"></i>退出</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--引入属于此页面的js -->
<script type="text/javascript" src="static/js/myjs/head.js"></script>